package com.lagou.edu.listener;
/*
 * PackageName: com.lagou.edu.listener
 * ClassName:   MyApplicationListener
 * Author:   coke
 * Date:     Created in 2020/10/16 20:08
 * Description:
 * History:
 * <author>        <time>             <version>          <desc>
 * 作者姓名         修改时间            版本号              描述
 * coke           2020/10/16 20:08     1.0
 */

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

/**
 * @author ZhangKe
 * @Project lagou-transfer
 * @Description
 * @date 2020/10/16 20:08.
 */
public class MyApplicationListener implements ServletContextListener {


    @Override
    public void contextInitialized(ServletContextEvent servletContextEvent) {
        System.out.println("监听器开启");
    }

    @Override
    public void contextDestroyed(ServletContextEvent servletContextEvent) {
        System.out.println("监听器关闭");
    }
}
